package com.seu.vcampus.vo;

import java.io.Serializable;

public class CartItem implements Serializable{
	private static final long serialVersionUID = 1L;
	
	private String product;
	private int quantity;
	private String user;
	
	public CartItem(String us, String pro, int qua)
	{
		this.product = pro;
		this.quantity = qua;
		this.user = us;
	}
	
	public void setProduct(String pro)
	{
		this.product = pro;
	}
	public String getProduct()
	{
		return this.product;
	}
	
	public void setQuantity(int qua)
	{
		this.quantity = qua;
	}
	public int getQuantity()
	{
		return this.quantity;
	}
	
	public void setUser(String us)
	{
		this.user = us;
	}
	public String getUser()
	{
		return this.user;
	}
	
	@Override
	public String toString()
	{
		return "CartItem{product=" + this.product + ", quantity=" + this.quantity + ", user" + this.user + "}";
	}
}
